package structuralModel.bridgeMode1;

/**
 * 功能描述: 电脑抽象类: 品牌信息的组合
 * 2024/02/06
 * <p>
 * ZhangYi
 */
public abstract class AComputer{

    protected Brand brand;

    public AComputer(Brand brand){
        this.brand = brand;
    }

    public void info(){
        brand.info(); // 调用品牌信息
    }
}
